package cn.gson.springboot.model.mapper;

import cn.gson.springboot.model.pojos.Product;
import cn.gson.springboot.model.pojos.ProductClassify;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component("proClassifyMapper")
public interface ProductClassifyMapper {
    public List<ProductClassify> selectAllProductClassify();

   public ProductClassify selectProductById(Integer proId);

    public List<ProductClassify> treeClassify();
}
